package com.lhr.common.util.domain;

import com.lhr.common.domain.AbstractBean;

public class EmailInfo extends AbstractBean {
	private static final long serialVersionUID = 1L;
	
	
	private String hostName;
	private int port;
	private boolean isSSL;

	private String fromEmail;
	private String fromName;
	private String authenticationEmail;
	private String authenticationPwd;
	
	private String charset = "UTF-8";

	public EmailInfo(){
		
	}
	
	public EmailInfo(String hostName, int port, String fromEmail, String fromName,
			String authenticationEmail, String authenticationPwd) {
		super();
		this.hostName = hostName;
		this.port = port;
		this.fromEmail = fromEmail;
		this.fromName = fromName;
		this.authenticationEmail = authenticationEmail;
		this.authenticationPwd = authenticationPwd;
	}
	
	public EmailInfo(String hostName, int port, boolean isSSL, String fromEmail, String fromName,
			String authenticationEmail, String authenticationPwd, String charset) {
		super();
		this.hostName = hostName;
		this.port = port;
		this.isSSL = isSSL;
		this.fromEmail = fromEmail;
		this.fromName = fromName;
		this.authenticationEmail = authenticationEmail;
		this.authenticationPwd = authenticationPwd;
		this.charset = charset;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public boolean isSSL() {
		return isSSL;
	}

	public void setSSL(boolean isSSL) {
		this.isSSL = isSSL;
	}

	public String getFromEmail() {
		return fromEmail;
	}

	public void setFromEmail(String fromEmail) {
		this.fromEmail = fromEmail;
	}

	public String getFromName() {
		return fromName;
	}

	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	public String getAuthenticationEmail() {
		return authenticationEmail;
	}

	public void setAuthenticationEmail(String authenticationEmail) {
		this.authenticationEmail = authenticationEmail;
	}

	public String getAuthenticationPwd() {
		return authenticationPwd;
	}

	public void setAuthenticationPwd(String authenticationPwd) {
		this.authenticationPwd = authenticationPwd;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}
	
	
}
